package com.example.mybatisdemo.enitity;

import java.io.Serializable;

/**
 * @ClassName User
 * @Author 刘泽
 * @Mail liuze713@hotmail.com
 * @Date 2021/12/22 5:24 PM
 * @Version 1.0
 */
public class User implements Serializable {
  private Long id;//编号
  private String username;//用户名
  private String password;//密码

  @Override
  public String toString() {
    return "User{" +
        "id=" + id +
        ", username='" + username + '\'' +
        ", password='" + password + '\'' +
        '}';
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }
}
